#ifndef ODN_DLLACCESS_H
#define ODN_DLLACCESS_H

//If we're compiling (making) the Ouden engine DLL, we want the API to be
// in the dll exporting state. 
//If we're using the Ouden engine DLL in a game project, we want the API to be 
// in the dll importing state.
//If we're not doing either of those things, eg. statically linking the Ouden
// engine, then we don't want any DLL access at all. 

#ifdef ODN_MAKING_DLL
	#define ODN_DLLACCESS __declspec(dllexport)
#elif defined(ODN_USING_DLL)
	#define ODN_DLLACCESS __declspec(dllimport)
#else
	#define ODN_DLLACCESS
#endif

#endif //ODN_DLLACCESS_H
